<?php
/*
    Pai special Template:惠州鹏爱1元脱毛
*/
$department = $_GET['department']?$_GET['department']:"竞价推广";
$referrer = $_GET['referrer']?$_GET['referrer']:"竞价推广";

?>
<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>惠州鹏爱1元脱毛、惠州鹏爱整形优惠、惠州鹏爱医疗美容医院</title>
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<meta name="keywords" itemprop="keywords" content="惠州鹏爱1元脱毛、惠州整形哪里好、鹏爱医疗美容" />
		<meta name="description" itemprop="description" content="惠州鹏爱福利来袭，感恩回馈，1元脱毛，任意部位包年。拒绝毛躁，做光滑女人，还有更多美丽优惠，一起美美做女神，欢迎在线咨询。" />
		<link rel="stylesheet" type="text/css" href="/post_template/special/yiyuantuomao/css/css.css"/>
		<link rel="stylesheet" type="text/css" href="/post_template/special/yiyuantuomao/css/current.css"/>
		<script src="/post_template/special/yiyuantuomao/js/jquery-2.1.4.js" type="text/javascript" charset="utf-8"></script>
	    <script src="/post_template/special/yiyuantuomao/js/flexible.js" type="text/javascript" charset="utf-8"></script>
	    <?php wp_head(); ?>
	</head>
	
	
	<style type="text/css">
	.tijiao{
		
		    position: relative;
    left: 30%;
	}
	
	</style>
	<body>
		<?php get_sidebar("header_zt"); ?>
		<div class="wrrap">
			<section class="section01">
				<div><img src="/post_template/special/yiyuantuomao/images/back_01_01.png" alt="" /></div>
				<div class="date"><a href="javascript:void(0)" onclick="openZoosUrl('chatwin');">10.25-12.31</a></div>
			</section>
			<section class="section02">
				<div><img src="/post_template/special/yiyuantuomao/images/back_02_02.png" alt="" /></div>
			</section>
			<div class="section03">
				<div><img src="/post_template/special/yiyuantuomao/images/back_03_03.png" alt="" /></div>
				<div class="forms">
					<h3>1元脱毛嘉年华<br />在线报名</h3>
					<form action="" method="post">
						<div class="from-cont">
							<div class="flex-box-b">
								<label>姓名&nbsp;&nbsp;</label>
								<input type="text" autocomplete="off" name="" id="name" value="" />
							</div>
							<div class="flex-box-b">
								<label>电话&nbsp;&nbsp;</label>
								<input type="text"  autocomplete="off" name="" id="phone" value="" />
							</div>
						</div>
						<div class="tijiao" id="sub">立即报名</div>
					</form>
				</div>
			</div>
			<section class="section04">
				<div><img src="/post_template/special/yiyuantuomao/images/back_04_04.png" alt="" /></div>
				<div class="foot-cont">
					<h3>活动规则：</h3>
					<ul>
						<li><strong>1、</strong><p>集齐10个或以上赞可到院兑换1元脱毛任意部位一年。</p></li>
						<li><strong>2、</strong><p>仅新客专享，一人仅可享受一次兑换。</p></li>
						<li><strong>3、</strong><p>为避免您等候时间过长，请一定提前预约治疗，预约热线：0752-5757579。</p></li>
						<li><strong>4、</strong><p>兑换时间：2018年10月25日—2018年12月31日。</p></li>
						<li><strong>5、</strong><p>本活动最终解释权归惠州鹏爱医疗美容医院所有。</p></li>
					</ul>
				</div>
			</section>
		</div>
	</body>
	<script type="text/javascript">
    $(function(){
        $("#sub").on("click",function(){
			
			
            if($("#name").val() == ""){
                alert("姓名不能为空");
                return false;
            }
            if($("#phone").val() == ""){
                alert("电话号码不能为空");
                return false;
            }
            else{
                var name = $("#name").val();
                var tel = $("#phone").val();
                var hospital = 'hz';
				
                $.post("http://y3.pengai.net/pc/hzyue.php",{
                    "referrer":'<?php echo $referrer; ?>',
                    "department":'<?php echo $department; ?>',
                    "hospital":hospital,
                    "val_recName":"一元脱毛",
                    "val_name":name,
                    "val_phone":tel
                },function(e){
                    console.log(e);
					$("#name").val(name);
                    if(e=="success"){
                        alert("预约成功！请稍后查看您的短信预约码");
                    }else if(e=="hasdone"){
                        alert("您已经提交过了，凭预约码或手机号到前台即可参与活动！");
                    }else{
                        alert("数据有误，请重新填写！");
                    }
                });  
            }    
			
			
        });
    });
</script>
 <?php  get_sidebar("footer"); ?>
</html>
